package br.com.persist.api;

public class ObjectNotFoundException extends Exception {

	private static final long serialVersionUID = 1336882787056225489L;

	private String key;

	public ObjectNotFoundException(String key) {
		super("Object with key '" + key + "' not defined.");
		this.key = key;
	}

	public String getKey() {
		return key;
	}
}
